/*
 * Created on 14/06/2010
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package model.cargarDatos;

import java.util.ArrayList;
import java.util.List;

import com.stefanini.pe.bbva.mbl.in.bo.iface.VisorSpreadBO;
import com.stefanini.pe.bbva.mbl.in.listeners.SpringInit;


/**
 * @author ltorres
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class VisorSpreadModel {
	String strIdProductoSelected;
	String strNumeroContrato="";
	String strAplicacion="";
	String strSpread="";
	String lblError_Text="";
	VisorSpreadBO visorSpreadService=null;
	List listaSpread=new ArrayList();
	List listaSpread_=new ArrayList();
	String strResult = "";
	public VisorSpreadModel()
	{
		
	}	
	
	public void reset(String esquema)
	{
		if(esquema.equals("2"))
			visorSpreadService = (VisorSpreadBO)SpringInit.getApplicationContext().getBean("visorSpreadService2");
		else
			visorSpreadService = (VisorSpreadBO)SpringInit.getApplicationContext().getBean("visorSpreadService");
	}
	/**
	 * @return Returns the lblError_Text.
	 */
	public String getLblError_Text() {
		return lblError_Text;
	}
	/**
	 * @param lblError_Text The lblError_Text to set.
	 */
	public void setLblError_Text(String lblError_Text) {
		this.lblError_Text = lblError_Text;
	}

	public String getStrIdProductoSelected() {
		return strIdProductoSelected;
	}

	public void setStrIdProductoSelected(String strIdProductoSelected) {
		this.strIdProductoSelected = strIdProductoSelected;
	}

	public String getStrNumeroContrato() {
		return strNumeroContrato;
	}

	public void setStrNumeroContrato(String strNumeroContrato) {
		this.strNumeroContrato = strNumeroContrato;
	}

	public String getStrSpread() {
		return strSpread;
	}

	public void setStrSpread(String strSpread) {
		this.strSpread = strSpread;
	}

	public VisorSpreadBO getVisorSpreadService() {
		return visorSpreadService;
	}

	public void setVisorSpreadService(VisorSpreadBO visorSpreadService) {
		this.visorSpreadService = visorSpreadService;
	}

	public List getListaSpread() {
		return listaSpread;
	}

	public void setListaSpread(List listaSpread) {
		this.listaSpread = listaSpread;
	}

	public List getListaSpread_() {
		return listaSpread_;
	}

	public void setListaSpread_(List listaSpread_) {
		this.listaSpread_ = listaSpread_;
	}

	public String getStrAplicacion() {
		return strAplicacion;
	}

	public void setStrAplicacion(String strAplicacion) {
		this.strAplicacion = strAplicacion;
	}

	public String getStrResult() {
		return strResult;
	}

	public void setStrResult(String strResult) {
		this.strResult = strResult;
	}
	
	
}
